<tr>
    <td>
    <?php if($c->level == 2):?>    
        └---
    <?php elseif($c->level == 3):?>
        └--------
    <?php endif?>

    <?php echo $c->name?>
    </td>
    <td><?php echo $c->desc?></td>
    <td><?php echo $c->index?></td>
    <td><?php echo $c->statusLabel?></td>
    <td><a>Thêm sản phẩm</a></td>
    <td class="da-icon-column">
        <a href="#"><img src="<?php echo $this->themeUrl?>/files/theme/images/icons/color/magnifier.png"></a>
        <a href="#"><img src="<?php echo $this->themeUrl?>/files/theme/images/icons/color/pencil.png"></a>
        <a href="#"><img src="<?php echo $this->themeUrl?>/files/theme/images/icons/color/cross.png"></a>
    </td>
</tr>
<?php if($c->itemCats):?>
<?php foreach($c->itemCats as $cc):?>
    <?php $this->renderPartial('_row', array('c' => $cc))?>
<?php endforeach;?>
<?php endif;?>